﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Core
{
    public enum  QualityStamp
    {
        Unknow = 0,
        Good = 1,
        Bad = 3,
    }

    /// <summary>
    /// 状态
    /// </summary>
    public enum State
    {
        Wait,//等待 0
        Working,//运行中/生产中 1
        Finish,//完成 2
        UpdLoad, //预上传 3
        UploadFinish, //上传资料完成 4
        UploadError,//5
        ResponeOK,//6
        ResponeError,//7
        Failed,//8
        RetryStep,//9
        RetryProc,//10
    }
    /// <summary>
    /// 信息状态，用于控制字体颜色
    /// </summary>
    public enum MessageState
    {
        Normal,//正常状态
        Sucess,//成功
        Error,//失败
    }

    public enum ByPassState
    {
        No,
        ByPass,
        AddRcrd,
    }

    public enum ScanState
    {
        No,
        Scan
    }

    /// <summary>
    /// 拧紧状态
    /// </summary>
    public enum TightenStatus
    {
        Faild,
        Sucess,
    }

    public enum Result
    {
        Sucess,
        Error,
    }

    public class TroqResult
    {
        public const string Faild = "0";
        public const string Sucess = "1";
    }
}
